package ru.efimmatytsin.tweeterella.services;

import ru.efimmatytsin.tweeterella.entities.Tweet;
import ru.efimmatytsin.tweeterella.entities.User;

import java.math.BigInteger;
import java.util.List;

/**
 * Created by Efim Matytsin on 17.02.15.
 */

public interface TweetService {

    public Tweet getTweet(BigInteger id);

    public Tweet saveTweet(Tweet tweet);

    public List<Tweet> getAllTweets();

    public List<Tweet> getUserTweets(User user);

}
